package com.tang.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tang.crm.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
    Integer deleteUserRoleByUserId(@Param("userId") Integer userId);

    Integer countUserRoleByUserId(@Param("userId") Integer userId);
}
